//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "OrientationRace\fn_preinit.sqf"
#include <core_macros.h>

TRACE_1("Start",_this);
TMFPROFILERSTART;

GVAR(ObjectStore) = objNull;

GVAR(FLAGS_COUNT) = 0;

if (isServer) then {
	for [{_i = 0},{_i < GVAR(TRAINING_DISTANCES)},{_i = _i + 1}] do {
		GVAR(TRAINING_TARGETS_LEFT) set [_i, []];
		GVAR(TRAINING_TARGETS_RIGHT) set [_i, []];
		GVAR(TRAINING_TARGETS_MOVING) set [_i, []];
	};
	GVAR(pveh) = [];
	publicVariable QGVAR(pveh);
};
QGVAR(pveh) addPublicVariableEventHandler FUNC(runEvent);

TRACE("End");
TMFPROFILERSTOP;
